package com.cnhis.cloudhealth.clinical.hosdoctor.inspectreport.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.hosdoctor.inspectreport.bo.InspectreportBo;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * Created by xiezhenyuan on 2016/3/25.
 */
@Service
public class InspectreportImpl implements IInspectreport {

    @Autowired
    private InspectreportBo inspectreportBo;

    @Override
    public ModelVo getExamreport(Map map,int pageno,int pagesize) {
        return inspectreportBo.selectExamreport(map,pageno,pagesize);
    }

    @Override
    public ModelVo getDefaultinstrument() {
        return inspectreportBo.selectDefaultinstrument();
    }

    @Override
    public ModelVo getExamresult(Map map) {
        return inspectreportBo.selectExamresult(map);
    }

    @Override
    public ModelVo getExamimage(Map map) {
        return inspectreportBo.selectExamimage(map);
    }

    @Override
    public Map getExamimage2(Map map)throws Exception{
        return inspectreportBo.selectExamimage2(map);
    }

    @Override
    public ModelVo getDoctorExamresult(Map map,int currentPage,int pageSize) {
        return inspectreportBo.selectDoctorExamresult(map,currentPage,pageSize);
    }

    @Override
    public ModelVo getImagerepsult(Map map) {
        return inspectreportBo.selectImagerepsult(map);
    }

    @Override
    public ModelVo getImagerepimg(Map map) {
        return inspectreportBo.selectImagerepimg(map);
    }

    @Override
    public ModelVo getPrintrepcon(Map map) {
        return inspectreportBo.selectPrintrepcon(map);
    }

    @Override
    public ModelVo getPrintrepimg(Map map) {
        return inspectreportBo.selectPrintrepimg(map);
    }

    @Override
    public ModelVo getRepimpro(Map map) {
        return inspectreportBo.selectRepimpro(map);
    }

    @Override
    public ModelVo getUnsureplist(Map map) {
        return inspectreportBo.selectUnsureplist(map);
    }

    @Override
    public ModelVo getCheckcrisis(Map map,int pageno,int pagesize) {
        return inspectreportBo.selectCheckcrisis(map,pageno,pagesize);
    }

    @Override
    public ModelVo getEmrblremind(Map map) {
        return inspectreportBo.selectEmrblremind(map);
    }

    @Override
    public ModelVo doctorViewImageResult(Map map, int currentPage, int pageSize) throws Exception {
        return inspectreportBo.doctorViewImageResult(map,currentPage,pageSize);
    }
}
